package org.bbelovic.devel.exercises.sequences;

import java.util.List;

/**
 * Implementations of this interface generates sequence of integers of particular type. Examples of 
 * such sequences can be found at oeis.org.
 */
public interface SequenceGenerator {

    /**
     * Generates sequence of integers.
     * @param n length of the sequence, how many integers will be generated
     * @return collection of integers that belongs to particular sequence
     */
    List<Integer> generateSequence(final int n);
}
